﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FluentNHibernate.Mapping;
using Entities;

namespace Mapping
{
    public class PinterestUserInfoMapping  : ClassMap<PinterestUserInfo>
    {
        public PinterestUserInfoMapping()
        {
            Table("Pinterest_User_Info");
            Id(o=>o.Id);
            Map(o => o.Email);
            Map(o => o.Name);
            Map(o => o.Url);
            Map(o => o.Followers);
            Map(o => o.Following);
            References(o => o.PlaceInfo);
        }
    }
}
